[INFO] cloning repository https://github.com/Kolsky/silent_shot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kolsky/silent_shot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25e94cfbefd99dc2fb7018dc0f159741d9e2f41b
[INFO] checking Kolsky/silent_shot against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKolsky%2Fsilent_shot" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Kolsky/silent_shot on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Kolsky/silent_shot
[INFO] finished tweaking git repo https://github.com/Kolsky/silent_shot
[INFO] tweaked toml for git repo https://github.com/Kolsky/silent_shot written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Kolsky/silent_shot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 117c2f2e89be7f95c56f518155d14bef19219c3f0caf3f357b5e3b218770449d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "117c2f2e89be7f95c56f518155d14bef19219c3f0caf3f357b5e3b218770449d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "117c2f2e89be7f95c56f518155d14bef19219c3f0caf3f357b5e3b218770449d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "117c2f2e89be7f95c56f518155d14bef19219c3f0caf3f357b5e3b218770449d", kill_on_drop: false }`
[INFO] [stdout] 117c2f2e89be7f95c56f518155d14bef19219c3f0caf3f357b5e3b218770449d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ce46acb836ad1785f4097f4601bb9fa5fbf1fbbdfd66452239c7dac8224050ae
[INFO] running `Command { std: "docker" "start" "-a" "ce46acb836ad1785f4097f4601bb9fa5fbf1fbbdfd66452239c7dac8224050ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling rayon-core v1.8.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]     Checking gimli v0.22.0
[INFO] [stderr]     Checking object v0.20.0
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling scrap v0.5.0
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking bytemuck v1.4.0
[INFO] [stderr]     Checking widestring v0.2.2
[INFO] [stderr]     Checking block v0.1.6
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]     Checking miniz_oxide v0.4.1
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rayon v1.4.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]     Checking png v0.16.7
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking crossbeam-channel v0.4.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]     Checking image v0.23.8
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking single-instance v0.1.2
[INFO] [stderr]     Checking ron v0.6.1
[INFO] [stderr]     Checking silent_shot v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/keyboard.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     um::winuser::{VK_SNAPSHOT, VK_MENU, /*VK_ESCAPE,*/},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/sysnio.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     um::winuser::{GetForegroundWindow, GetWindowRect},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/sysnio.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `user32::GetKeyState`
[INFO] [stdout]  --> src/keyboard.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use user32::{GetKeyState};
[INFO] [stdout]   |              ^^^^^^^^^^^ no `GetKeyState` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_SNAPSHOT` in this scope
[INFO] [stdout]   --> src/keyboard.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |             vk_snapshot: VirtualKey(GetKeyState(VK_SNAPSHOT) as u32),
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_MENU` in this scope
[INFO] [stdout]   --> src/keyboard.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 |             vk_menu: VirtualKey(GetKeyState(VK_MENU) as u32),
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/sysnio.rs:86:74
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn crop_frame_and_return_dims(buf: &mut Vec<u8>, frame: Frame, rect: RECT, width: usize, height: usize) -> (usize, usize) {
[INFO] [stdout]    |                                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/keyboard.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     um::winuser::{VK_SNAPSHOT, VK_MENU, /*VK_ESCAPE,*/},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/sysnio.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     um::winuser::{GetForegroundWindow, GetWindowRect},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/sysnio.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/sysnio.rs:101:43
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn get_active_window_rect() -> Option<RECT> {
[INFO] [stdout]     |                              -            ^^^^ not found in this scope
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `user32::GetKeyState`
[INFO] [stdout]  --> src/keyboard.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use user32::{GetKeyState};
[INFO] [stdout]   |              ^^^^^^^^^^^ no `GetKeyState` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/sysnio.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let hwnd = GetForegroundWindow();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/sysnio.rs:104:33
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn get_active_window_rect() -> Option<RECT> {
[INFO] [stdout]     |                              - help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] ...
[INFO] [stdout] 104 |         let mut rect = zeroed::<RECT>();
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/sysnio.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |         match GetWindowRect(hwnd, &mut rect) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_SNAPSHOT` in this scope
[INFO] [stdout]   --> src/keyboard.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |             vk_snapshot: VirtualKey(GetKeyState(VK_SNAPSHOT) as u32),
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VK_MENU` in this scope
[INFO] [stdout]   --> src/keyboard.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 |             vk_menu: VirtualKey(GetKeyState(VK_MENU) as u32),
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/sysnio.rs:86:74
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn crop_frame_and_return_dims(buf: &mut Vec<u8>, frame: Frame, rect: RECT, width: usize, height: usize) -> (usize, usize) {
[INFO] [stdout]    |                                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/sysnio.rs:101:43
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn get_active_window_rect() -> Option<RECT> {
[INFO] [stdout]     |                              -            ^^^^ not found in this scope
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope
[INFO] [stdout]    --> src/sysnio.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let hwnd = GetForegroundWindow();
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/sysnio.rs:104:33
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn get_active_window_rect() -> Option<RECT> {
[INFO] [stdout]     |                              - help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] ...
[INFO] [stdout] 104 |         let mut rect = zeroed::<RECT>();
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]    --> src/sysnio.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |         match GetWindowRect(hwnd, &mut rect) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `silent_shot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ce46acb836ad1785f4097f4601bb9fa5fbf1fbbdfd66452239c7dac8224050ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce46acb836ad1785f4097f4601bb9fa5fbf1fbbdfd66452239c7dac8224050ae", kill_on_drop: false }`
[INFO] [stdout] ce46acb836ad1785f4097f4601bb9fa5fbf1fbbdfd66452239c7dac8224050ae
